package as.myapplication.holder;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;

import as.myapplication.R;
import as.myapplication.adapter.BaseAdapterLV;

/**
 * Created by liqm on 2017/7/6.
 */

public class ScrollLVHolder extends BaseHolderLV{

    public ScrollLVHolder(Context context, ViewGroup parent, BaseAdapterLV adapter, int position, Object bean) {
        super(context, parent, adapter, position, bean);
    }

    @Override
    public View onCreateView(Context context, ViewGroup parent) {
        View view = LayoutInflater.from(context).inflate(R.layout.items,null);

        LinearLayout worksll= (LinearLayout) view.findViewById(R.id.works);
        LinearLayout timell= (LinearLayout) view.findViewById(R.id.times);
        LinearLayout dealll= (LinearLayout) view.findViewById(R.id.deal);
        TextView type1= (TextView) view.findViewById(R.id.type1);
        TextView type2= (TextView) view.findViewById(R.id.type2);
        TextView type3= (TextView) view.findViewById(R.id.type3);

        TextView describe1= (TextView) view.findViewById(R.id.describe);
        TextView describe2= (TextView) view.findViewById(R.id.describe2);
        TextView describe3= (TextView) view.findViewById(R.id.describe3);

        return view;
    }

    @Override
    protected void onRefreshView(Object bean, int position) {

    }
}
